import request from '@/utils/request'

export function uploadFile(data) {
  return request({
    url: '/v1/system/projectFile/upload',
    method: 'post',
    data
  })
}

export function deleteFile(params) {
  return request({
    url: '/v1/system/file/deleteFile',
    method: 'delete',
    params: params
  })
}

const uploadPath = process.env.VUE_APP_BASE_API + '/v1/system/projectFile/upload'
export { uploadPath }
